package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
/**
 * @Author mingliang
 * @Description 泳道视图code分页查询
 * @Date 2021/12/15 14:34
 **/
@Getter
@Setter
@ToString
public class LaneStageCodePageDTO extends BaseDTO {

    private static final long serialVersionUID = 3725365131870726049L;
    /**
     * 表单id
     */
    @NotNull(message = "{dto.msg.formId.NotNull}")
    private Long formId;


    @NotNull(message = "{dto.msg.saasMark.NotNull}")
    private Integer saasMark;

    private Long menuId;
    /**
     * 节点对应的表单的业务类型
     */
    @NotNull(message = "{dto.msg.businessType.NotNull}")
    private Integer businessType;

    /**
     * 阶段流程id
     */
    private Long stageProcessId;

    /**
     * 分页当前页
     */
    @Min(value=1, message = "{dto.msg.formDataList.page.Min}")
    private Integer page;

    /**
     * 分页每页记录数
     */
    @Min(value=1, message = "{dto.msg.formDataList.page.Min}")
    private Integer pageSize;


}
